package club.emergency.wechat.cors;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * Create with IntelliJ IDEA
 * Project Name: business
 * Package Name: club.emergency.wechat_api.cors
 * Date: 2018/11/19
 *
 * @author: 快乐的小菌菌
 * Description:
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "cors")
public class CorsProperties {
    private String allowOrigin;
    private String allowMethod;
    private String allowHeader;
    private Long maxAge;
    private Boolean allowCredentials;
}
